//
// Created by yunnan xu on 2020/12/8.
//

#ifndef ANDROIDGRAPHICSDEMOS_PHYSCENE_H
#define ANDROIDGRAPHICSDEMOS_PHYSCENE_H

#include <vector>
#include <memory>

namespace Phy
{
    class RigidBody;

    class PhyScene {
    public:

        PhyScene();
        void AddRigidBody(std::shared_ptr<RigidBody> rb);
        void Update(double elapsed_time, double tot_time);

    // private:
        std::vector<std::shared_ptr<RigidBody>> rb_list;
    };

}

#endif //ANDROIDGRAPHICSDEMOS_PHYSCENE_H
